package Test;

import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
        // 第六题

        Scanner s = new Scanner(System.in);

        System.out.println("请输入圆柱体底层半径");
        double d1 = s.nextDouble();

        System.out.println("请输入圆柱体高");
        double d2 = s.nextDouble();

        double d3 = d1*d1*3.14*d2;
        System.out.println("该圆柱体体积为："+d3);
    }
}
